﻿using System;
using System.Collections.Generic;
using System.Text;
using XNAGuiLib.Core.ActionHandling;

namespace XNAGuiLib.Core.Events
{

    public delegate void MouseActionEventHandler(MouseAction sender, MouseActionEventArgs e);

    public class MouseActionEventArgs
    {
        #region ActionEventArgs Public Field - Action
        MouseAction _action;
        /// <summary>
        /// gets the action fired the event
        /// </summary>
        public MouseAction Action
        {
            get { return this._action; }
        }
        #endregion

        #region ActionEventArgs Public Field - Target
        IAction _target;
        /// <summary>
        /// gets the target the action relates to
        /// </summary>
        public IAction Target
        {
            get { return this._target; }
        }
        #endregion

        public MouseActionEventArgs(MouseAction action, IAction target)
        {
            this._action = action;
            this._target = target;
        }
    }
}
